package com.dy.project.controller;

import com.dy.project.service.DtoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

import java.util.Map;

/**
 * 囚座Controller
 * 
 * @author ruoyi
 * @date 2020-06-05
 */
@RestController
@RequestMapping("/balcony")
public class McBalconyController
{
    @Autowired
    private DtoService dtoService;

    /**
     * 查询座樓倉床列表
     */
    @GetMapping("/listDto")
    public Map<String,Object> listDto()
    {
        Map<String,Object> dtoInfo = dtoService.selectDtoList();
        return dtoInfo;
    }
}
